package com.lovo.manage.mapper;

import com.lovo.manage.bean.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    List<Student> find(int page,int rows);
    Student findById(int id);
    int getCount();
    void addStudent(Student student);
    void updateStudent(Student student);
    void delStudent(int id);
}
